package com.zhang.yunfu_his.entity.dbo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Description:
 * @author:
 * @Date:
 * @Time:
 */
/**
    * 问诊-病历医嘱表
    */
@ApiModel(value="问诊-病历医嘱表")
@Data
@TableName("inquiry_doctor_advice")
@AllArgsConstructor
@NoArgsConstructor
public class InquiryDoctorAdviceDO extends BaseDO implements Serializable {

    /**
    * 主诉
    */
    @ApiModelProperty(value="主诉")
    private String mainDemand;

    /**
    * 现病史
    */
    @ApiModelProperty(value="现病史")
    private String nowMedicalHistory;

    @ApiModelProperty(value="既往史-标签")
    private String pastMedicalHistoryTag;

    /**
    * 既往史
    */
    @ApiModelProperty(value="既往史")
    @TableField(    insertStrategy = FieldStrategy.IGNORED,  // 插入时忽略非空判断
            updateStrategy = FieldStrategy.IGNORED   // 更新时忽略非空判断
    )
    private String pastMedicalHistory;

    @ApiModelProperty(value="过敏史-标签")
    private String allergicHistoryTag;

    /**
    * 过敏史
    */
    @ApiModelProperty(value="过敏史")
    @TableField(    insertStrategy = FieldStrategy.IGNORED,  // 插入时忽略非空判断
            updateStrategy = FieldStrategy.IGNORED   // 更新时忽略非空判断
    )
    private String allergicHistory;

    /**
     * icd编码
     */
    @ApiModelProperty(value="icd编码")
    private String icdCode;

    /**
    * 初步诊断
    */
    @ApiModelProperty(value="初步诊断")
    private String preliminaryDiagnose;

    /**
    * 建议
    */
    @ApiModelProperty(value="建议")
    private String suggest;

    /**
    * 问诊订单id
    */
//    @ApiModelProperty(value="问诊订单id")
//    private String inquiryOrderId;

    /**
    * 患者id
    */
    @ApiModelProperty(value="患者id")
    private String patientId;

    /**
    * 患者姓名
    */
    @ApiModelProperty(value="患者姓名")
    private String patientName;

    /**
    * 患者性别：枚举。1：男，2：女
    */
    @ApiModelProperty(value="患者性别：枚举。1：男，2：女")
    private String patientGender;

    /**
    * 患者年龄
    */
    @ApiModelProperty(value="患者年龄")
    private Integer patientAge;

    /**
     * 患者手机号码
     */
    @ApiModelProperty(value="患者手机号码")
    private String patientPhone;

    /**
     * 患者身份证信息
     */
    @ApiModelProperty(value="患者身份证信息")
    private String patientIdCard;

    /**
    * 就诊医院id
    */
    @ApiModelProperty(value="就诊医院id")
    private String hospitalId;

    /**
    * 就诊医院名称
    */
    @ApiModelProperty(value="就诊医院名称")
    private String hospitalName;

    /**
    * 就诊科室id
    */
    @ApiModelProperty(value="就诊科室id")
    private String deptId;

    /**
    * 就诊科室名称
    */
    @ApiModelProperty(value="就诊科室名称")
    private String deptName;

    /**
    * 开单医生id
    */
    @ApiModelProperty(value="开单医生id")
    private String doctorId;

    /**
    * 开单医生名
    */
    @ApiModelProperty(value="开单医生名")
    private String doctorName;

    /**
     * his病人id
     */
    @ApiModelProperty(value = "his病人id")
    private String hisPatientId;

    @ApiModelProperty(value = "支付方式")
    private String payType;

    @ApiModelProperty(value="门特病种")
    private String mentoName;

    @ApiModelProperty(value="hMac值")
    private String hMac;

    private static final long serialVersionUID = 1L;
}
